package com.hulizuofang.wol.chat.client.presenter;

import com.google.gwt.event.shared.EventBus;
import com.google.inject.Inject;
import com.gwtplatform.dispatch.shared.DispatchAsync;
import com.gwtplatform.mvp.client.View;
import com.gwtplatform.mvp.client.annotations.NameToken;
import com.gwtplatform.mvp.client.annotations.ProxyCodeSplit;
import com.gwtplatform.mvp.client.proxy.ProxyPlace;
import com.hulizuofang.wol.chat.client.place.NameTokens;

public class ChatPagePresenter extends AbstractNestedPresenter<ChatPagePresenter.PageView, ChatPagePresenter.PageProxy> {

	@ProxyCodeSplit
	@NameToken(NameTokens.CHAT)
	public interface PageProxy extends ProxyPlace<ChatPagePresenter> {
	}

	public interface PageView extends View {
	}

	@Inject
	public ChatPagePresenter(EventBus eventBus, PageView view, PageProxy proxy, DispatchAsync dispatcher) {
		super(eventBus, view, proxy, dispatcher);
	}
	
	@Override
	public void onBind() {
/*
		getView().addRefreshButtonClickHandler(refreshClickHandler);
		getView().setEditColumnFieldUpdater(editColumnFieldUpdater);
		getView().addContinuousScrollingHandler(continuousScrollingEventHandler);
		
		getEventBus().addHandler(NameMouseOverEvent.TYPE, nameMouseOverEventHandler);
		getEventBus().addHandler(SearchEvent.TYPE, searchEventhandler);
 */
	}
	
}
